require('./MooTools1.3.2s').apply(GLOBAL);

/**
 * @namespace
 * @name CaboCity
 * */

/**
 * @namespace
 * @name CaboCity.server
 * */
exports.server = {
		ServerOptions: require('./serverOptions.js').ServerOptions
		,startServer: require('./game.js').startServer
		,connecToDB: require('mysqlConnection.js').connectDB
};

/**
 * @namespace
 * @name CaboCity.basic
 * */
exports.basic = {};

/**
 * @namespace
 * @name CaboCity.client
 * */
exports.client = {
		Client: require('./client.js').Client
};

/**
 * @namespace
 * @name CaboCity.def
 * */
exports.def = {
		loadDefsFromFiles: require('./gameInfo.js').loadDefsFromFiles
		
		,Build: require('./t/def/build.js').Build
		,addNewBuild: require('./game.js').def.addNewBuild
		,createBuild: require()
		
		,Wt: require()//TODO
		,addNewWt: require()//TODO
		,createWt: require()//TODO
};

/**
 * @namespace
 * @name CaboCity.cmd
 * */
exports.cmd = {
		Command: require('./commands.js').Command
		,Answer: require('./commands.js').Answer
};

/**
 * @namespace
 * @name CaboCity.map
 * */
exports.map = {
		Map: require('./map.js').Map
		,MapOptions: require('./map.js').MapOptions
};